package com.frank.oj.service.entity.discussion;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.frank.model.entity.discussion.Comment;
import com.frank.oj.model.vo.CommentVO;

/**
 * @author frank
 * @Date 2024/4/15
 */
public interface CommentEntityService extends IService<Comment> {
    IPage<CommentVO> getCommentList(Integer limit, Integer currentPage, Long cid, Integer did, boolean isRoot, String uid);

    void updateCommentMsg(String uid, String uid1, String content, Integer did, Long gid);

    void updateCommentLiseMsg(String fromUid, String uid, Integer sourceId, String sourceType);
}
